import request from '@/utils/request';
import { AxiosPromise } from 'axios';

//查询代发批次列表
export const orderApprovalList = (query: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/bill/orderApprovalList',
    method: 'get',
    params: query
  });
};



//查询代发审核数量
export const orderApprovalCount = (query: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/bill/orderApprovalCount',
    method: 'get',
    params: query
  });
};



//服务商接单审核
export const addOrderApproval = (data: any): AxiosPromise<[]> => {
  return request({
    url: '/payment/bill/orderApproval',
    method: 'post',
    data: data
  });
};

